const parse = require('convertpath');
parse.parse("1.svg", {
    plugins: [
        {
            convertUseToGroup: true, // at first
        },
        {
            convertShapeToPath: true,
        },
        {
            removeGroups: true,
        },
        {
            convertTransfromforPath: true,
        },
        {
            viewBoxTransform: true, // at last
        },
    ],
    size: 1000,
})
console.log(parse.toSimpleSvg());

